how to use the ratio test for infinite series